<template>
  <el-tooltip ref="globalTemplateTip" :content="toolTipContent" placement="top"></el-tooltip>
</template>

<script>
export default {
  name: 'tool-tip',
  mounted () {
    this.$store.commit('MOUNT_TOOL_TIP', this.$refs.globalTemplateTip)
    this.$store.commit('MOUNT_TOOL_TIP_BOX', this)
  },
  data () {
    return {
      toolTipContent: 'success',
      toolTipPlacement: ''
    }
  }
}
</script>

<style scoped>

</style>
